var visoConfig = {
  visoTemplate: {}
}

visoConfig.baseStyleFlowchart = {

  // 端点的形状
  endpoint: ['Dot', { radius: 6, }],
  paintStyle: { fill: '#61B7CF', stroke: '#1BA39C',strokeWidth: 2},
  hoverPaintStyle: { fill: '#26C281', stroke: '#26C281',strokeWidth: 2, },
  connectorStyle: { outlineStroke: '#61B7CF',strokeWidth: 1 },
  connectorHoverStyle: { outlineStroke: '#26C281',strokeWidth: 1.5},
  // 是否可以拖动（作为连线起点）
  isSource: true, // 是否可以拖动（作为连线起点）
  isTarget: true, // 是否可以放置（连线终点）
  // 连接线的样式种类有[Bezier],[Flowchart],[StateMachine ],[Straight ]
  connector: ['Flowchart', { gap: 8, cornerRadius: 5, alwaysRespectStubs: true }],  
  maxConnections: -1, // 设置连接点最多可以连接几条线
  connectorOverlays: [
    ['Arrow', { width: 15, length: 15, location: 1 , paintStyle:{ fill: '#61B7CF'}}],
    ['Arrow', { width: 15, length: 15, location: 0.2 , paintStyle:{ fill: '#61B7CF'}}],
    ['Arrow', { width: 15, length: 15, location: 0.7 , paintStyle:{ fill: '#61B7CF'}}],
  ],
}

visoConfig.baseStyleBezier = {
  // 端点的形状
  endpoint: ['Rectangle', { width: 12, height: 12, }],
  paintStyle: { fill: '#E5E5E5', stroke: '#E5E5E5',strokeWidth: 2,  },
  hoverPaintStyle: { fill: '#2C3E50' , stroke: '#2C3E50',strokeWidth: 2,},
  connectorStyle: { outlineStroke: '#E5E5E5',strokeWidth: 0.1 },
  connectorHoverStyle: { outlineStroke: '#2C3E50',strokeWidth: 1 },
  // 是否可以拖动（作为连线起点）
  isSource: false, // 是否可以拖动（作为连线起点）
  isTarget: false, // 是否可以放置（连线终点）
  // 连接线的样式false种类有[Bezier],[Flowchart],[StateMachine ],[Straight ]
  connector: [ "Bezier", { curviness:150} ],
  maxConnections: -1, // 设置连接点最多可以连接几条线
  connectorOverlays: [
    // ['Arrow', { width: 15, length: 15, location: 1 , paintStyle:{ fill: '#E5E5E5'}},],
    ['Arrow', { width: 15, length: 15, location: 0.5 , paintStyle:{ fill: '#E5E5E5'}}],
  ]
}
visoConfig.baseStyleRefLine = {
  // 端点的形状
  endpoint: ['Rectangle', { width: 12, height: 12, }],
  paintStyle: { fill: '#696969', stroke: '#696969',strokeWidth: 2,  },
  hoverPaintStyle: { fill: '#2C3E50' , stroke: '#2C3E50',strokeWidth: 2,},
  connectorStyle: { outlineStroke: '#696969',strokeWidth: 0.1 },
  connectorHoverStyle: { outlineStroke: '#2C3E50',strokeWidth: 1 },
  // 是否可以拖动（作为连线起点）
  isSource: false, // 是否可以拖动（作为连线起点）
  isTarget: false, // 是否可以放置（连线终点）
  // 连接线的样式false种类有[Bezier],[Flowchart],[StateMachine ],[Straight ]
  connector: [ "Bezier", { curviness:150} ],
  maxConnections: -1, // 设置连接点最多可以连接几条线
  connectorOverlays: [
    // ['Arrow', { width: 15, length: 15, location: 1 , paintStyle:{ fill: '#E5E5E5'}},],
    ['Arrow', { width: 15, length: 15, location: 0.5 , paintStyle:{ fill: '#696969'}}],
  ]
}

visoConfig.baseArchors = ['RightMiddle', 'LeftMiddle']
